@import "variable";
.user{
  .top{
    padding: .32rem 0 1.3rem 0;
    background: url('../../routes/user/bg.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    .avatar{
      width: 25%;
      display: block;
      border-radius: 50%;
      overflow: hidden;
      img{
        width: 100%;
      }
    }
    .nickname{
      color: #fff;
      font-size: .4rem;
      font-weight: bold;
      padding: .2rem 0 0 0;
      text-align: center;
    }
    .func{
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translate(-50%, 50%);
      width: 93%;
      background: #fff;
      border-radius: 8px;
      display: flex;
      padding: .3rem .3rem;
      box-shadow: 2px 2px 2px rgba(0,0,0,.3);
      .item{
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        .xffont{
          color: $primary;
          font-size: .6rem;
        }
        span{
          margin: .05rem 0 0 0;
        }
      }
    }
  }
  .list{
    padding: 1.2rem 0 0 0;
    margin: 0 0 .2rem 0;
    .list-icon{
      font-size: .5rem;
      vertical-align: middle;
      color: $primary;
    }
    .list-title{
      display: inline-block;
      vertical-align: middle;
      padding: 0 0 0 .15rem;
      font-size: .3rem;
    }
  }
}
